package com.cn.medicalcare.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Advertisement {
   private int id;
   private int adnum;
   private String img;
   private String content;
   private int survival;
   @JsonIgnore
   private Date survivalupdatetime;
}
